<!DOCTYPE html> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:p="http://primefaces.org/ui"
      xmlns:zhjin="http://java.sun.com/jsf/composite/component"
      xmlns:zh="http://www.zhjin.com/custom"> 
<h:head>
	<title>人力资源管理系统</title>	
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta http-equiv="Pragma" content="no-cache"/> 
	<meta http-equiv="Cache-Control" content="no-cache"/> 
	<meta http-equiv="Expires" content="0"/> 		
</h:head> 
<h:body style="background-color:#336699;"> 
		<h:outputScript target="head" library="js" name="common.js"></h:outputScript>
		<h:outputStylesheet library="css" name="common.css"></h:outputStylesheet>
		<h:form id="f">
			<div id="logindiv" style="position:absolute;left:50%;top:50%;width:500px;height:200px;margin-left:-250px;margin-top:-150px;">
			<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
			  <tr>
			    <td> 
			    	<table width="501px;" border="0" align="center" cellpadding="0" cellspacing="0" style="border-right:#f4f4f4 1px solid;border-left:#f4f4f4 1px solid;border-top:#f4f4f4 1px solid;border-bottom:#f4f4f4 1px solid">
				        <tr> 
				          <td> <img src="resources/images/index_1.jpg" width="501px" height="65px" alt=""/></td>
				        </tr>
			        	<tr> 
				          <td background="resources/images/index_4.jpg"><table width="60%" border="0" align="center" cellpadding="0" cellspacing="0">
				              <tr> 
				                <td height="191">
				                    <table width="70%" border="0" align="center" cellpadding="0" cellspacing="0">
				                      <tr> 
				                        <td height="30"><img src="resources/images/button.gif" width="27" height="27"/></td>
				                        <td> 用户名： 
				                          <p:inputText value="#{userSession.user.loginName}"></p:inputText>
				                         </td>
				                      </tr>
				                      <tr> 
				                        <td height="30"><img src="resources/images/button.gif" width="27" height="27"/></td>
				                        <td> 密　码： 
				                        	<p:password value="#{userSession.user.password}"></p:password>
										</td>
				                      </tr>
				                      <tr> 	
				                        <td height="50" colspan="2" align="center"> 　　　　　　　　　　 
				                          <p:commandButton value=" 登录 " action="#{sysMenuManager.loginClick}" 
				                          	icon="resources/images/button_login.gif"/>
				                        </td>
				                      </tr>
				                    </table>
				                  </td>
				              </tr>
				            </table>
				        </td>
			        </tr>
			      </table>
			     </td>
			  </tr>
			</table>
			</div>
		</h:form>
</h:body> 
</html>
